/**
 * 
 */
package com.orange.modules.entity.expert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 专家组
 * 
 * @author gaogs
 *
 * 2016-11-16
 */
@Table(name="t_auth_group")
@Entity
public class AuthGroup {
	
	private String pid ;//主键
	private String type ; // 0 ：材料评审专家组 1：现场考察专家组  
	private String name ;// 组名
	private String state ;//  0：初始化状态    1：启用    3：考察结束
	private String schoolId ;// 学校id  分配现场考察专家组时 需要绑定学校 
	private String updateTime  ;//修改时间
	private String createTime ;//创建时间
	private String reportName ;// 现场考察-认证报告名称
	private String reportUrl ;// 现场考察-认证报告路径
	
	private String schoolName ;//学校名称
	private String major ;//专业
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	@Column(name = "s_name",length=255)
	public String getName() {
		return name;
	}
	@Column(name = "s_state",length=1)
	public String getState() {
		return state;
	}
	@Column(name = "s_school_id",length=50)
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name = "s_update_time",length=20)
	public String getUpdateTime() {
		return updateTime;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	
	@Column(name = "s_report_name",length=255)
	public String getReportName() {
		return reportName;
	}

	@Column(name = "s_report_url",length=255)
	public String getReportUrl() {
		return reportUrl;
	}
	public void setReportName(String reportName) {
		this.reportName = reportName;
	}
	public void setReportUrl(String reportUrl) {
		this.reportUrl = reportUrl;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setState(String state) {
		this.state = state;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	@Transient
	public String getMajor() {
		return major;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public void setMajor(String major) {
		this.major = major;
	}

	
	
	
}
